package com.bsh.service;

import com.bsh.entity.Bo.TbClass;
import com.bsh.entity.Bo.TbScore;
import com.bsh.entity.Dto.ClassChineseScoreSummary;
import com.bsh.entity.Dto.ClassStudentTotalScore;
import com.bsh.entity.Dto.StudentDTO;
import com.bsh.entity.Dto.StudentScoreSummary;
import com.github.pagehelper.PageInfo;

public interface StudentService {
    PageInfo<StudentDTO> getFilteredStudents(Integer pageIndex, Integer pageSize);

    PageInfo<StudentDTO> getStudentsList(Integer pageIndex, Integer pageSize);

    PageInfo<ClassChineseScoreSummary> getChineseScoreSummary(Integer pageIndex, Integer pageSize);

    PageInfo<ClassStudentTotalScore> getStudentTotalScoreByTeacher(String teacherName, Integer pageIndex, Integer pageSize);

    PageInfo<StudentScoreSummary> getStudentScoreSummary(Integer pageIndex, Integer pageSize);

    void insertClass(TbClass tbClass);

    void insertScore(TbScore tbScore);

    void deleteClassById(Integer id);
}
